/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.common.constant;

import java.util.ArrayList;
import java.util.HashSet;

/**
 * 通用常量
 *
 * @author Chill
 */
public class CommonConstant {

	/**
	 * sword 系统名
	 */
	public static String SWORD_NAME = "sword";

	/**
	 * saber 系统名
	 */
	public static String SABER_NAME = "saber";

	/**
	 * 顶级父节点id
	 */
	public static Long TOP_PARENT_ID = 0L;

	/**
	 * 顶级父节点名称
	 */
	public static String TOP_PARENT_NAME = "顶级";

	/**
	 * 默认密码
	 */
	public static String DEFAULT_PASSWORD = "123456";

	/**
	 * 是否开启第三方注册，默认关闭
	 */
	public static boolean DEFAULT_REGISTER = false;

	/**
	 * 端口映射服务默认管理员收件邮箱
	 */
	public static String CLOUD_EMAIL = "wangxiaotong2596@dingtalk.com";
	/**
	 * TCP映射开始端口
	 */
	public static Integer CLOUD_TCP_STARTPORT = 10000;

	/**
	 * 代理机的外网IP
	 */
	public static String CLOUD_PROXY_IP = "123.125.252.121";
	/**
	 * 是否开启自动审批
	 */
	public static boolean CLOUD_WEB_AUTO = false;
	/**
	 * 是否开启自动审批
	 */
	public static boolean CLOUD_TCP_AUTO = false;
	/**
	 * 是否执行脚本
	 */
	public static boolean CLOUD_EXEC = true;

	public static String  CLOUD_NGINX_URL = "/usr/local/nginx/";

	/**
	 * jmeter脚本和报告存储路径
	 */
	public static String JMETER_FILE_PATH = "/jmeter/data";
	/**
	 * jmeter脚本和报告存储路径
	 */
	public static String JMETER_HOME = "/jmeter/apache-jmeter-5.3";


	public static HashSet<String> allNode;


	/**
	 * chfs文件服务
	 */
	public static String CHFS_URL = "http://10.0.49.23:8888";
}
